package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.IndexHotHouse;

import java.util.List;


public interface IIndexHotHouseService {

    IndexHotHouse findById(int id);

    boolean save(IndexHotHouse indexHotHouse);

    List<IndexHotHouse> findByArea(String area);

    List<IndexHotHouse> findByAreaLike(String area);

    List<IndexHotHouse> findAll();

    /**
     * 查询异地主推楼盘
     * @param area
     * @return
     */
    List<IndexHotHouse> findByAreaNotLike(String area);

    /**
     * 查询本地主推显示异地楼盘
     * @param area
     * @return
     */
    List<Integer> findByPeripheryLike(String area);

    /**
     * 获取楼盘信息
     * @param houseId
     * @return
     */
    String findHouseId(String houseId);

    /**
     * 获取周边楼盘详细信息ID
     * @param code
     * @return
     */
    String  findLikeArea(String code);


}
